import { Component, OnInit, ViewChild } from '@angular/core';
import { SettingComponent } from 'src/app/components/setting/setting.component';

@Component({
  selector: 'app-person',
  templateUrl: './person.component.html',
  styleUrls: ['./person.component.css']
})
export class PersonComponent implements OnInit {
  @ViewChild('setting') setting:SettingComponent
  constructor() { }

  ngOnInit(): void {
  }
  toSet(){
    this.setting.out()
  }
}
